class GiftEntity {
  //参奖标识id
  String id = "";
  //主题名称
  String groupSpecName = "";
  //奖品名称
  String giftRemark = "";
  //中奖日期
  String zjDate = "";
  //领取状态
  String giftGetState = "";
  //领取方式
  String giftGetType = "";

  GiftEntity(
      {this.id,
      this.groupSpecName,
      this.giftRemark,
      this.zjDate,
      this.giftGetState,
      this.giftGetType});

  GiftEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    groupSpecName = json['groupSpecName'];
    giftRemark = json['giftRemark'];
    zjDate = json['zjDate'];
    giftGetState = json['giftGetState'];
    giftGetType = json['giftGetType'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['groupSpecName'] = this.groupSpecName;
    data['giftRemark'] = this.giftRemark;
    data['zjDate'] = this.zjDate;
    data['giftGetState'] = this.giftGetState;
    data['giftGetType'] = this.giftGetType;
    return data;
  }
}
